


export default [
  // 工程主页
  {
    path: "/",
    name: "engineeringHomePage",
    component: () => import('@/views/engineering5188/homePage/index.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/homePage",
    name: "homePage",
    component: () => import('@/views/engineering5188/newPage/supplier/homePage.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/custom",
    name: "custom",
    component: () => import('@/views/engineering5188/custom.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/goodsAndServices",
    name: "goodsAndServices",
    component: () => import('@/views/engineering5188/goodsAndServices/index.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/searchResult",
    name: "searchResult",
    component: () => import('@/views/engineering5188/homePage/searchResult.vue'),
    meta: {
      isEngineering5188: true,
      title: '搜索结果'
    },
  },
  {
    path: "/haishiSearchResult",
    name: "haishiSearchResult",
    component: () => import('@/views/engineering5188/newPage/searchResult.vue'),
    meta: {
      isEngineering5188: true,
      title: '搜索结果'
    },
  },
  {
    path: "/supplierLogin",
    name: "supplierLogin",
    component: () => import('@/views/engineering5188/Login/supplierLogin.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  // 新登录
  {
    path: "/newLogin",
    name: "newLogin",
    component: () => import('@/views/engineering5188/Login/newLogin.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  // 供应商申请入驻
  {
    path: "/applyForDdmission",
    name: "applyForDdmission",
    component: () => import('@/views/engineering5188/newPage/applyForDdmission.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  // 采购商入驻
  {
    path: "/purchaser",
    name: "purchaser",
    component: () => import('@/views/engineering5188/newPage/purchaser.vue'),
    meta: {
      isEngineering5188: true,
    },
  },

  // 提交成功
  {
    path: "/Successful",
    name: "Successful",
    component: () => import('@/views/engineering5188/newPage/Successful.vue'),
    meta: {
      isEngineering5188: true,
    },
  },

  // 支付
  {
    path: "/newPayment",
    name: "newPayment",
    component: () => import('@/views/engineering5188/newPage/newSupplier/compayPage/newPayment.vue'),
    meta: {
      isEngineering5188: true,
    },
  },


  // 产品详情
  {
    path: "/ProductDetails",
    name: "ProductDetails",
    component: () => import('@/views/engineering5188/newPage/ProductDetails.vue'),
    meta: {
      isEngineering5188: true,
    },
  },

  // 登录后的页面
  {
    path: "/product",
    name: "product",
    component: () => import('@/views/engineering5188/newPage/product.vue'),
    meta: {
      isEngineering5188: true,
    },
  },




  // 排行榜
  {
    path: "/Dashboard",
    name: "Dashboard",
    component: () => import('@/views/engineering5188/newPage/Dashboard.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  // 采购商会员中心
  {
    path: "/prefecturePage",
    name: "prefecturePage",
    component: () => import('@/views/engineering5188/newPage/purchaserPage/prefecturePage.vue'),
    meta: {
      isEngineering5188: true,
      title: '采购商'
    },
    redirect: "/prefecturePage/indexFirst",
    children: [
      {
        path: "indexFirst",
        name: "indexFirst",
        component: () => import('@/views/engineering5188/newPage/purchaserPage/indexFirst.vue'),
        meta: {
          title: '中心'
        },
      },
      {
        path: "newCompany",
        name: "newCompany",
        component: () => import('@/views/engineering5188/newPage/purchaserPage/newCompany.vue'),
        meta: {
          title: '公司资料'
        },
      },
      {
        path: "newCommission",
        name: "newCommission",
        component: () => import('@/views/engineering5188/newPage/purchaserPage/newCommission.vue'),
        meta: {
          title: '我的佣金'
        },
      },

      {
        path: "newteam",
        name: "newteam",
        component: () => import('@/views/engineering5188/newPage/purchaserPage/newteam.vue'),
        meta: {
          title: '我的团队'
        },
      },


      {
        path: "newCollect",
        name: "newCollect",
        component: () => import('@/views/engineering5188/newPage/purchaserPage/newCollect.vue'),
        meta: {
          title: '我的收藏'
        },
      },

      {
        path: "newcipher",
        name: "newcipher",
        component: () => import('@/views/engineering5188/newPage/purchaserPage/newcipher.vue'),
        meta: {
          title: '修改密码'
        },
      }
    ]
  },



  // 供应商会员中心
  {
    path: "/supplierIndex",
    name: "supplierIndex",
    component: () => import('@/views/engineering5188/newPage/newSupplier/supplierIndex.vue'),
    meta: {
      isEngineering5188: true,
      title: '供应商'
    },
    redirect: "/supplierIndex/SupplierPersonal",
    children: [
      {
        path: "SupplierCompany",
        name: "SupplierCompany",
        component: () => import('@/views/engineering5188/newPage/newSupplier/SupplierCompany.vue'),
        meta: {
          title: '公司资料'
        },
      },
      {
        path: "SupplierPersonal",
        name: "SupplierPersonal",
        component: () => import('@/views/engineering5188/newPage/newSupplier/SupplierFirst.vue'),
        meta: {
          title: '会员中心'
        },
      },
      {
        path: "ProductManagement",
        name: "ProductManagement",
        component: () => import('@/views/engineering5188/newPage/newSupplier/ProductManagement.vue'),
        meta: {
          title: '产品管理'
        },
      },
      {
        path: "SupplierCommission",
        name: "SupplierCommission",
        component: () => import('@/views/engineering5188/newPage/newSupplier/SupplierCommission.vue'),
        meta: {
          title: '我的佣金'
        },
      },

      {
        path: "Supplierteam",
        name: "Supplierteam",
        component: () => import('@/views/engineering5188/newPage/newSupplier/Supplierteam.vue'),
        meta: {
          title: '我的团队'
        },
      },


      {
        path: "SupplierCollect",
        name: "SupplierCollect",
        component: () => import('@/views/engineering5188/newPage/newSupplier/SupplierCollect.vue'),
        meta: {
          title: '我的收藏'
        },
      },

      {
        path: "Suppliercipher",
        name: "Suppliercipher",
        component: () => import('@/views/engineering5188/newPage/newSupplier/Suppliercipher.vue'),
        meta: {
          title: '修改密码'
        },
      }
    ]



  },



  // ----------
  {
    path: "/supplierRegister",
    name: "supplierRegister",
    component: () => import('@/views/engineering5188/Login/register.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/supplierForgetPassword",
    name: "supplierForgetPassword",
    component: () => import('@/views/engineering5188/Login/forgetPassword.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/businessPersonnelForgetPassword",
    name: "businessPersonnelForgetPassword",
    component: () => import('@/views/engineering5188/businessPersonnel/forgetPassword.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/businessPersonnelLogin",
    name: "businessPersonnelLogin",
    component: () => import('@/views/engineering5188/businessPersonnel/login.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/businessPersonnelRegister",
    name: "businessPersonnelRegister",
    component: () => import('@/views/engineering5188/businessPersonnel/register.vue'),
    meta: {
      isEngineering5188: true,
    },
  },
  {
    path: "/privacy",
    name: "privacy",
    component: () => import('@/views/engineering5188/service/privacy.vue'),
    meta: {
      isEngineering5188Service: true,
      title: '隐私声明'
    },
  },
  {
    path: "/serviceTerms",
    name: "serviceTerms",
    component: () => import('@/views/engineering5188/service/serviceTerms.vue'),
    meta: {
      isEngineering5188Service: true,
      title: '服务条款'
    },
  },
  {
    path: "/aboutUs",
    name: "aboutUs",
    component: () => import('@/views/engineering5188/service/about.vue'),
    meta: {
      isEngineering5188Service: true,
      title: '关于我们'
    },
  },
  {
    path: "/contactUs",
    name: "contactUs",
    component: () => import('@/views/engineering5188/service/contact.vue'),
    meta: {
      isEngineering5188Service: true,
      title: '联系我们'
    },
  },
  {
    path: "/payment",
    name: "payment",
    component: () => import('@/views/engineering5188/service/payment.vue'),
    meta: {
      isEngineering5188Service: true,
      title: '付款方式'
    },
  },
  {
    path: "/vipCenter",
    name: "vipCenter",
    component: () => import('@/views/engineering5188/service/vipCenter.vue'),
    meta: {
      isEngineering5188Service: true,
      title: 'VIP会员'
    },
  },
  {
    path: "/supplier",
    name: "supplier",
    component: () => import('@/views/engineering5188/supplier/index.vue'),
    meta: {
      isEngineering5188Service: true,
      title: '供应商'
    },
    redirect: "/supplier/company",
    children: [
      {
        path: "company",
        name: "company",
        component: () => import('@/views/engineering5188/supplier/company.vue'),
        meta: {
          title: '公司资料'
        },
      },
      {
        path: "product",
        name: "product",
        component: () => import('@/views/engineering5188/supplier/product.vue'),
        meta: {
          title: '产品管理'
        },
      },
      {
        path: "gongshang",
        name: "gongshang",
        component: () => import('@/views/engineering5188/supplier/gongshang.vue'),
        meta: {
          title: '工商资质'
        },
      },
      {
        path: "honer",
        name: "honer",
        component: () => import('@/views/engineering5188/supplier/honer.vue'),
        meta: {
          title: '企业荣誉'
        },
      },
      {
        path: "engineeringManage",
        name: "engineeringManage",
        component: () => import('@/views/engineering5188/supplier/engineeringManage.vue'),
        meta: {
          title: '工程案例'
        },
      },
      {
        path: "companyAlbums",
        name: "companyAlbums",
        component: () => import('@/views/engineering5188/supplier/companyAlbums.vue'),
        meta: {
          title: '公司相册'
        },
      },
      {
        path: "companyVIdeo",
        name: "companyVIdeo",
        component: () => import('@/views/engineering5188/supplier/companyVIdeo.vue'),
        meta: {
          title: '公司视频'
        },
      },
      {
        path: "concat",
        name: "concat",
        component: () => import('@/views/engineering5188/supplier/concat.vue'),
        meta: {
          title: '联系方式'
        },
      },
      {
        path: "modifyPassword",
        name: "modifyPassword",
        component: () => import('@/views/engineering5188/supplier/modifyPassword.vue'),
        meta: {
          title: '修改密码'
        },
      },
    ]
  },
  {
    path: "/businessPersonnel",
    name: "businessPersonnel",
    component: () => import('@/views/engineering5188/userService/index.vue'),
    meta: {
      isEngineering5188Service: true,
      title: '供应商'
    },
    redirect: "/businessPersonnel/userInfo",
    children: [
      {
        path: "userInfo",
        name: "userInfo",
        component: () => import('@/views/engineering5188/userService/userInfo.vue'),
        meta: {
          title: '个人资料'
        },
      },
      {
        path: "commission",
        name: "commission",
        component: () => import('@/views/engineering5188/userService/commission.vue'),
        meta: {
          title: '我的佣金'
        },
      },
      {
        path: "invite",
        name: "invite",
        component: () => import('@/views/engineering5188/userService/invite.vue'),
        meta: {
          title: '我的邀请'
        },
      },
      {
        path: "modifyPassword",
        name: "modifyPassword",
        component: () => import('@/views/engineering5188/supplier/modifyPassword.vue'),
        meta: {
          title: '修改密码'
        },
      },
    ]
  },
  {
    path: "/companyInfo",
    name: "companyInfo",
    component: () => import('@/views/engineering5188/company/index.vue'),
    meta: {
      isEngineering5188Company: true,
      title: '公司资料'
    },
    redirect: "/companyInfo/index",
    children: [
      {
        path: "index",
        name: "index",
        component: () => import('@/views/engineering5188/company/homePage.vue'),
        meta: {
          title: '首页'
        },
      },
      {
        path: "profile",
        name: "profile",
        component: () => import('@/views/engineering5188/company/profile.vue'),
        meta: {
          title: '公司简介'
        },
      },
      {
        path: "product",
        name: "product",
        component: () => import('@/views/engineering5188/company/product.vue'),
        meta: {
          title: '产品展示'
        },
      },
      {
        path: "case",
        name: "case",
        component: () => import('@/views/engineering5188/company/case.vue'),
        meta: {
          title: '工程案例'
        },
      },
      {
        path: "albums",
        name: "albums",
        component: () => import('@/views/engineering5188/company/albums.vue'),
        meta: {
          title: '公司相册'
        },
      },
      {
        path: "video",
        name: "video",
        component: () => import('@/views/engineering5188/company/video.vue'),
        meta: {
          title: '公司视频'
        },
      },
      {
        path: "contact",
        name: "contact",
        component: () => import('@/views/engineering5188/company/contact.vue'),
        meta: {
          title: '联系我们'
        },
      },
    ]
  }
]



